/*
 * Copyright (C) 2011, EADS France
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 */
package xowl.gmi.model;

import xowl.utils.config.Section;

/**
 *
 * @author Laurent WOUTERS
 */
public class ExecutionEntry {
    private String id;
    private String name;
    private String symbol;
    private String function;
    
    public String getID() { return id; }
    public String getName() { return name; }
    public String getSymbolIRI() { return symbol; }
    public String getFunctionIRI() { return function; }
    
    public ExecutionEntry(Section section, String id) {
        this.id = id;
        this.name = section.getValue(id + ".name");
        this.symbol = section.getValue(id + ".symbol");
        this.function = section.getValue(id + ".function");
    }
}
